package com.example.paopao.consumer.memer.dao.persist.repository.impl;

import com.example.paopao.consumer.memer.dao.persist.mapper.WorkerIntegralMapper;
import com.example.paopao.consumer.memer.dao.persist.repository.WorkerIntegralRepository;
import com.example.paopao.consumer.memer.pojo.entity.WorkerSubssinePhoneVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class WorkerIntegralRepositoryImpl implements WorkerIntegralRepository {

    @Autowired
    private WorkerIntegralMapper integralMapper;

    @Override
    public WorkerSubssinePhoneVO getPhone(Long id) {
        return integralMapper.getPhone(id);
    }
}
